<template>
<h2>AsyncComponents</h2>
<h3>{{msg}}</h3>
</template>

<script>
import { defineComponent } from "vue";
export default defineComponent({
  name: "AsyncComponents",
  setup() {
      return new Promise((res,rej)=>{
          setTimeout(()=>{
              res({
                  msg:'你在干嘛'
              })
          },2000)
      })
  }
  
});
</script>

<style lang="less" scoped>
</style>
